<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form action="/HTML/login.html">
        <!--
            input的name属性是在数据提交给后端时的命名，id属性是label在一个form中用来定位input的
        -->
        <label for="username">用户名</label>
        <input type="text" name="username" id="username" required minlength="3" maxlength="15" placeholder="用户名">
        <br>
        <label for="age">年龄</label>
        <input type="number" name="age" id="age" required placeholder="年龄">
        <br>
        <label for="email">邮箱</label>
        <input type="email" name="email" id="email" required placeholder="邮箱">
        <br>
        <label for="password">密码</label>
        <input type="password" name="password" id="password" required placeholder="密码">
        <br>
        <label for="resume">个人简介</label>
        <textarea name="resume" id="resume" cols="30" rows="10" placeholder="个人简介"></textarea>
        <br>
        <label for="lang">语言</label>
        <select name="lang" id="lang">
            <option value="CPP">CPP</option>
            <option value="Java">Java</option>
            <option value="Python">Python</option>
        </select>
        <br>
        <button type="submit">提交</button>
    </form>
</body>

</html>